<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title>登录</title>
    <link rel="stylesheet" th:href="@{/static/css/common.css}" />
</head>
<body>
<form th:action="@{/login}" method="post" style="text-align: center">
    <div>
        <span id="lable-error">&nbsp;</span>
        <span style="font-size: 12px;color: red" th:text="${error}" aria-describedby="lable-error"></span>
        <br/>
    </div>
    <div>
        <input id="username" name="username" type="text" placeholder="用户名" style="width: 300px;height: 30px;"/>
    </div>
    <br/>
    <div>
        <input id="password" name="password" type="password" placeholder="密码" style="width: 300px;height: 30px;"/>
    </div>
    <br/>
    <button type="submit" style="width:100px;height: 30px;background-color: #ffffff">登 录</button>
</form>
</body>
</html>